package com.yq.bdm.service;

import java.util.List;
import java.util.Map;

import com.yq.bdm.entity.MenuPermissionEntity;

/**
 * 权限表
 * 
 * @author yuq
 * @date 2017-07-27 15:09:23
 */
public interface MenuPermissionService {
	
	MenuPermissionEntity queryObject(Long id);
	
	List<MenuPermissionEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(MenuPermissionEntity menuPermission);
	
	void update(MenuPermissionEntity menuPermission);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);
	
	MenuPermissionEntity queryObjectByPermissionId(Long id);
	
	void deleteByPermissionId(Long permissionId);
	
	void deleteBatchByPermissionId(Long[] permissionIds);
}
